package com.example.demo.dao;

import com.example.demo.model.CityEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CityDao {

    int add(CityEntity city);

    int isExist(String adcode);

    List<CityEntity> getAll();

    List<CityEntity> getByPadcode(String padcode);

}
